#pragma once

#ifndef LEVELSQUARE_H
#define LEVELSQUARE_H

#include "TileSet.h"

class LevelSquare
{
private:
	bool passable;
	bool visible;
	D3DXVECTOR3 position;
	Tile tile;
public:
	bool isPassable() const { return passable; }
	void setPassable(bool newPassable) { passable = newPassable; }
	bool isVisible() const { return visible; }
	void setVisible(bool newVisible) { visible = newVisible; }
	D3DXVECTOR3	getPosition() { return position; }
	void setPosition(D3DXVECTOR3 newPosition) { newPosition = position; }
	Tile getTile() { return tile; }
	void setTile(Tile newTile) { tile = newTile; }
	LevelSquare() {}
	LevelSquare(bool passable, D3DXVECTOR3 position, Tile tile);
	void draw(ID3DXSprite* sprite, D3DXVECTOR3 offset);
};

#endif